*{
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    box-sizing: border-box;
}
html, body {
    height:100%;
    font-size: 14px!important;
    background: #fafafa;
    margin: 0!important;
    padding: 0!important;
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}
ul{
    list-style: none;
}
i,em{ font-style: normal;}
a{
    color: #000;
}
img{
    border: none;
    display: block; 
}


a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote, body, canvas, caption, center, cite, code, dd, del, details, dfn, div, dl, dt, em, embed, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav, object, ol, output, p, pre, q, ruby, s, samp, section, small, span, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, time, tr, tt, u, ul, var, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  -webkit-tap-highlight-color: transparent
}


a:link, a:visited, a:hover, a:active {
  text-decoration: none;
}

li, ol, ul {
  list-style: none
}

a {
  -webkit-tap-highlight-color: transparent
}

blockquote, q {
  quotes: none
}

blockquote:after, blockquote:before, q:after, q:before {
  content: '';
  content: none
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

input[type=file] {
  cursor: pointer;
  font-size: 0
}

input:focus, select:focus, textarea:focus {
  /*border-color: #66afe9;*/
  /*box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(102, 175, 233, 0.6);*/
  outline: none;
}
button, input, input:focus, select, select:focus, textarea, textarea:focus {
  outline: none
}

a,img,button,input,textarea{
  outline: none;
  font-size: inherit;
  -webkit-tap-highlight-color: rgba(255,255,255, 0);
  appearance: none;
  -webkit-appearance: none;
}

.el-loading-mask {
  background-color: rgba(255, 255, 255, .3);
}
.el-tooltip__popper{
  display: block;
}

//滚动条 公共控制
.el-scrollbar__wrap {
  overflow-x: hidden;
  height: 100%;
}

//浮动
.left {
  float: left;
}
.right {
  float: right;
}

//清除浮动
.clearfix {
  *zoom: 1;
  &:before,
  &:after {
      content: " ";
      display: table;
  }
  &:after {
      clear: both;
  }
}

//input
.el-input__inner{
  height: 30px!important;
  line-height: 30px!important;
}
.el-input__icon{
  line-height: 32px;
}

/*login input 验证*/
.el-form-item.is-success .el-input__inner,
.el-form-item.is-success .el-input__inner:focus,
.el-form-item.is-success .el-textarea__inner,
.el-form-item.is-success .el-textarea__inner:focus{
  border:1px solid $app--color-green;
}
.el-form-item.is-success .el-input__validateIcon{
  color: $app--color-green;
}

.el-form-item.is-error .el-input__inner,
.el-form-item.is-error .el-input__inner:focus,
.el-form-item.is-error .el-textarea__inner,
.el-form-item.is-error .el-textarea__inner:focus {
  border-color: #cd5f62;
}
.el-form-item.is-error .el-input__validateIcon{
  color: #cd5f62;
}
.el-form-item__error{
  color: #cd5f62;
}

.el-input__inner-password .el-input__inner{
  border:none;
  padding: 0;
  height: 30px;
}
.el-input__inner:focus{
  border:1px solid $app--color-green;
}

//复选框
.el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  background-color: $app--color-green;
  border-color: $app--color-green;
}
.el-checkbox__input.is-checked + .el-checkbox__label {
  color: $app--color-green;
}
.el-checkbox__input.is-focus .el-checkbox__inner{
  border-color: $app--color-green;
}
.el-checkbox__inner:hover{
  border-color: $app--color-green!important;
}

//下拉框
.el-select{
  width: 130px;
  //margin-right: 15px;
}
.el-select-dropdown__item.selected{
  color: $app--color-green;
}
.el-select .el-input.is-focus .el-input__inner{
  border-color: $app--color-green;
}
.el-select .el-input__inner:focus{
  border-color: $app--color-green;
}
.el-select .el-input__suffix > .el-input__suffix-inner > .el-input__icon{
  line-height: 30px;
}

//弹框中 下拉框 层级关系
.el-select-dropdown{
  z-index: 99999!important;
}
.el-select-dropdown__list{
  margin-bottom: 17px!important;
}

// date 日期
.el-range-editor.is-active, .el-range-editor.is-active:hover {
  border-color: $app--color-green;
  color: #fff;
}
.el-date-table td.end-date span, .el-date-table td.start-date span {
  background-color: $app--color-green;
  color: #fff;
}
.el-date-table td div:hover{
  color: $app--color-green;
}
.el-date-table td.today span {
  color: $app--color-green;
  font-weight: 700;
}
.el-date-editor .el-range__icon{
  line-height: 23px;
}
.el-date-editor .el-range-separator{
  width: 9%;
  line-height: 25px;
}
.el-date-editor .el-range__close-icon{
  line-height: 23px;
}
.el-range-editor.el-input__inner{
  width: 300px;
}

//button按钮
//默认按钮状态 重置
.el-button:active {
  color: $app--color-green;
  border-color: $app--color-green;
  outline: 0;
}
 .el-button:focus, .el-button:hover {
   color: $app--color-green;
   border-color: $app--color-green;
   background-color: #ecf5ff;
 }

//重置 确定 按钮
.el-button--primary{
  color: #FFF;
  background-color: $app--color-green;
  border-color:$app--color-green;
  &:hover{
    background-color: #35ccaa;
    border-color: #35ccaa;
  }
}
.el-button.el-button--primary:focus, .el-button.el-button--primary:hover {
  color: #FFF;
  background-color: #35ccaa;
  border-color: #35ccaa;
}

//重置 取消 按钮
.el-button--info{
  color: #333;
  background-color: #eef5fd;
  border-color:#ddd;
  &:hover{
    background-color: #dedfe0;
    border-color: #dedfe0;
  }
}
.el-button.el-button--info:focus, .el-button.el-button--info:hover {
  color: #333;
  background-color: #dedfe0;
  border-color: #dedfe0;
}

/* el-tabs */
.app-tabs .el-tabs__header.is-top{
  margin-bottom: 0;
}
.app-tabs .el-tabs__active-bar{
  display: none;
}
.app-tabs .el-tabs__item{
  width: 100px;
  padding:0;
  margin-bottom: 0px;
  height: 35px;
  line-height:35px;
  text-align: center!important;
  outline: none!important;
  color: #fff;
  background: #000;
}
.app-tabs .el-tabs__item.is-active{
  text-align: center!important;
  color: $app--color-green;
  border-bottom: 2px solid $app--color-green;
}

/*table*/
.el-table{
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
}
.el-table .cell{
  text-align: center;
  //cursor: pointer;
  //padding: 6px;
  /* overflow:hidden;
   text-overflow:ellipsis;
   white-space:nowrap;*/
}
.has-gutter th{
  color: #333;
  background:#f3f2f2!important;
  padding: 0;
}
.has-gutter th >.cell{
  height: 35px;
  line-height: 40px;
}
.el-table th, .el-table td{
  //padding: 0px!important;
}
.el-table td .cell{
  padding: 5px;
}

app-select-table .el-table .cell, .el-table th div, .el-table--border td:first-child .cell, .el-table--border th:first-child .cell{
  padding: 0;
}

/*table 文字溢出*/
.app-table-bookName-550{
  cursor: pointer;
  display: inline-block;
  vertical-align: -8px;
  max-width: 550px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.app-table-bookName-500{
  cursor: pointer;
  max-width: 500px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.app-table-bookName-400{
  cursor: pointer;
  max-width: 400px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.app-table-bookName-260{
  cursor: pointer;
  max-width: 260px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

//表格中  树样式 （图书题目管理）
.app-teerTable .has-gutter th > .cell {
  text-align: center;
}
.app-teerTable tr > td:first-child .cell{
  text-align: left!important;
}

/*page*/
.app-page{
  text-align: center;
  margin: 20px 0;
}
.el-pager li{
  color: #bdb9b9;
  margin: 0 4px!important;
  border:1px solid  #bdb9b9;
  border-radius: 3px;
}
.el-pager li:hover {
  color: $app--color-green;
}
.el-pager li.active + li{
  border-left:1px solid #bdb9b9;
}
.el-pager li.active{
  background: $app--color-green;
  color: #fff;
  border:1px solid $app--color-green;
}

//开关按钮重置
.el-switch{
  height: 16px!important;
  line-height: 16px!important;
}
.el-switch__core {
  height: 16px!important;
  line-height: 16px!important;
}
.el-switch__core:after{
  width: 12px!important;
  height: 12px!important;
}
.el-switch.is-checked .el-switch__core::after{
  margin-left: -14px;
}

//计数器
.el-input--mini .el-input__inner{
  height: 28px!important;
}
.el-input--mini .el-input__inner:hover{
  border-color:$app--color-green!important;
  color:$app--color-green!important;
}
.el-input-number__decrease:hover, .el-input-number__increase:hover{
  border-color:$app--color-green!important;
}
.el-input-number__decrease.active, .el-input-number__increase.active{
  border-color: $app--color-green!important;
}
.el-input-number__increase:hover .el-icon-plus{
  color:$app--color-green!important;
}
.el-input-number__decrease:hover:not(.is-disabled) ~ .el-input .el-input__inner:not(.is-disabled),
.el-input-number__increase:hover:not(.is-disabled) ~ .el-input .el-input__inner:not(.is-disabled){
  border-color: $app--color-green!important;
}

//el-radio 重置
.el-radio__input.is-checked .el-radio__inner{
  background:$app--color-green;
  border-color:$app--color-green;
}
.el-radio__inner:hover{
  border-color:$app--color-green;
}
.el-radio__input.is-checked + .el-radio__label{
  color:$app--color-green;
}

//字体颜色
.app-red{
  color:#cd5f62;
}
.app-green{
  color:#27b494;
}

/*变行内*/
.app-ib{
  display: inline-block;
}
//居中
.app-center{
  text-align: center;
  margin: auto;
}


//高度控制 滚动
.app-scrollbar-right{
  height:calc(100vh - 189px);
}

/*小标题*/
.app-title{
  border-left: 3px solid $app--color-green;
  margin: 10px 0 10px -10px;
  padding-left: 10px;
  font-size:15px;
  font-weight: bold;
  img{
    display: inline-block;
    //margin-left: 10px;
    cursor: pointer;
  }
}

//公共头部信息
.app-text{
  clear: both;
  &-div{
    //margin:0 15px;
    &-span{
      display: inline-block;
      margin: 3px 40px 3px 0;
      img{
        display: inline-block;
        vertical-align: -2px;
        margin-right: 10px;
      }
      i{
        font-size: 15px;
      }
      em{
        color: #999;
        margin-right: 10px;
        vertical-align: -1px;
      }
    }
  }
}
.right{
  float: right;
  .app-text-div-span{
    display: inline-block;
    margin: 3px 0px 3px 40px!important;
  }
}

//表格icon hover样式
.app-hover {
  &-div {
    display: inline-block;
    cursor: pointer;
    margin: 0 10px;
    color: #666;
    em {
      color: #999;
      margin-right: 2px;
    }
    &:hover {
      color: $app--color-green;
      em {
        color: $app--color-green;
      }
    }

  }
}

/*按钮大小*/
.el-button{
  padding: 6px 15px!important;
  border-radius: 6px!important;
}
.app-btn{
  margin: 10px 0!important;
  font-size: 12px;
  &-cancel{
    color: #333;
  }
}

//返回按钮
.return{
  color: #666;
  margin-right: 26px;
  &:hover{
    color: $app--color-green;
  }
}

//直播图标
.iconzhibozhong{
  color: $app--color-green;
}
//icon 累计次数 图标
.iconleijicishu{
  font-size: 22px;
}
// 弹窗中 成功 图标
.el-icon-success{
  font-size: 40px;
  color: $app--color-green;
}
//margin
.app-margin-10{
  margin: 10px;
}
.app-mt-20{
  margin-top: 20px;
}
.app-mb-10{
  margin-bottom: 10px;
}
.app-mr-15{
  margin-right: 15px;
}
.app-mtb-15{
  margin: 15px 0;
}

/* 遮罩样式 */
.el-loading-spinner{
  i{
    color: #27b494;
  }
  .el-loading-text {
    color: #27b494;
    margin: 3px 0;
    font-size: 14px;
  }
}
.el-button--warning {
  color: #fff;
  background-color: #ccc;
  border-color: #ccc;
  &:hover, &:focus{
    color: #fff;
    background-color: #ddd;
    border-color: #ddd;
  }
}

/*按钮样式*/
.app-button{
  padding: 7px 25px !important;
}
.app-center{
  margin: 30px 0px 15px 0px;
}
.app-open-box{
  padding: 10px;
  border-radius: 5px;
  max-height: 80vh;
  overflow-y: hidden;
}
.app-open-content-roll{
  max-height: calc(80vh - 180px);
  padding-bottom: 1px;
}

/* table的选中样式 */
.app-select-table .el-table__row{
  cursor: pointer;
}

/* a标签的样式 */
a{
  cursor: pointer;
}

/* 全局盒子和弹窗样式修改 */
.el-main{
  overflow: hidden;
}

/* 直播页面中提问排队占一行样式 */
.liveTab .is-active, .liveTab .el-tabs__nav{
  width: 100% !important;
}

/* 表格样式 */
.el-table__fixed-right{
  & th{
    color: #333;
    background:#f3f2f2!important;
    padding: 0;
  }
  & th >.cell{
    height: 35px;
    line-height: 40px;
  }
}

/* 没有数据的显示样式 */
.noAppoint{
  width: 100%;
  text-align: center;
  font-size: 14px;
  line-height: 60px;
  color: #27b494;
  margin: 20vh 0px;
  img{
    margin: 0 auto;
  }
}

/* select的样式 */
.inputBox .el-select {
  width: 100%;
}

/* 输入框去掉上下按钮 */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
input[type="number"]{
  -moz-appearance: textfield;
}

/* 表格中el-radio抖动处理 */
.el-radio ::after {
  transition: none !important;
}